package com.yidi.system.service;

import com.yidi.common.core.domain.model.LoginUser;
import com.yidi.common.core.service.BaseService;
import com.yidi.system.domain.SysUserOnline;


/**
 * @author ：Xn
 * @ClassName: SysUserOnlineService
 * @date ：2021-10-19 14:13
 * @describe ：
 */
public interface SysUserOnlineService extends BaseService<SysUserOnline> {

    SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user);

    SysUserOnline loginUserToUserOnline(LoginUser user);

    SysUserOnline selectOnlineByIpaddr(String ipaddr, LoginUser user);

    SysUserOnline selectOnlineByUserName(String userName, LoginUser user);
}
